home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 051-075 / disk_055 / palette / poster < prev   
Text File  |  1992-05-06  |  2KB  |  40 lines

  1. ==========================
  2. amiga/main #6434, from cscheppner, 1687 chars, Wed Feb  4 16:06:34 1987
  3. This is a comment to message 6396.
  4. There is/are comment(s) on this message.
  5. --------------------------
  6. RE: Changing another program's custom screen colors
  7.  
  8.    I wrote a Palette tool a while back.  Since I had never used gadgets,
  9. I started with Charlie Heath's palette.c.  By the time I was done
  10. there was very little, if any, of the original code left, except for
  11. perhaps the prop dimensions and the concept of displaying the hex
  12. value of the current color.  In the initial comments I say
  13. "Inspired by Charlie Heath's Palette.c" but I never posted it
  14. anywhere because his had copyright restrictions and I never would
  15. have been able to write mine at the time if I hadn't had his
  16. to start from.
  17.  
  18.    Anyway, it can be started from CLI or an WB.  With no args or from
  19. WB, it comes up on the front screen.  My color chips are all dynamically
  20. allocated and defined gadgets.  You get 2 real big ones on a 1 plane
  21. screen, 4 medium size ones on a 2 plane screen, and rows of small ones
  22. on higher plane screens.  In addition, from CLI, you can pass numeric
  23. args, in which case it opens the requested custom screen and becomes
  24. a useful tool for creating palettes for your own custom screen programs
  25. (palettes which other people can complain about and want to change ;-)
  26.  
  27.    I never got around to adding any Save or Load options, so you have
  28. to write down the hex values when you find something you like.
  29.  
  30.    Back to the point!  This tool is really handy for modifying the
  31. custom screen palette of another program.  I keep it on my telecomm
  32. disk and pop it up on my VT100 screen whenever I feel like some
  33. different colors.  There's only one problem with it --- it's so 
  34. much fun to play with that it's a real time-waster.
  35.  
  36.    If Charlie doesn't mind, I'll post it.   Charlie ???
  37.  
  38.      carolyn --- cats
  39.  
  40.